package cn.rokhdelar.ams.management.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author Rokhdelar
 * @since 2025/3/21 -- 16:57
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "登录日志表")
public class SysLoginLog extends BasePo {
    @Schema(description = "登录账号")
    private String username; // 登录账号

    @Schema(description = "登录IP")
    private String ip; // 登录IP

    @Schema(description = "登录时间")
    private LocalDateTime loginTime; // 登录时间

    @Schema(description = "是否成功")
    private Boolean status; // 是否成功

    @Schema(description = "操作系统信息")
    private String os; // 操作系统信息

    @Schema(description = "浏览器信息")
    private String browser;
}
